﻿using SketchUpAPI.NET.SketchUp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace SketchUpAPI.NET.Objects
{
    [StructLayout(LayoutKind.Sequential, Pack = 8)]
    public struct EntitiesParent
    {
        IntPtr model;
        IntPtr definition;

        public SketchUpModel Model
        {
            get
            {
                return new SketchUpModel(model);
            }
        }

        public ComponentDefinition Definiton
        {
            get
            {
                return new ComponentDefinition(definition);
            }
        }
    }
}